from django.db import models
class BaseModel(models.Model):
    addtime = models.DateTimeField(auto_now_add=True)
    flag = models.BooleanField(default=True)
    order = models.IntegerField(default=0)
    class Meta:
        abstract = True